#ifndef QSOLVER_H
#define QSOLVER_H

#include <QThread>
#include "solver.h"

class QSolver : public QThread
{
public:
    QSolver(QObject *parent = 0);
    void run();
    void setField(const solver::Field &f);
    const solver::Words &getResult();
private:
    solver::Field field;
    solver::Words result;
};

#endif // QSOLVER_H
